package com.ruoyi.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户信息对象 shop_user
 * 
 * @author ruoyi
 * @date 2021-11-28
 */
public class ShopUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 微信的openid */
    private String wxOpenid;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 地址信息 */
    @Excel(name = "地址信息")
    private String address;

    /** 性别 */
    @Excel(name = "性别")
    private Integer sex;

    /** 微信头像 */
    @Excel(name = "微信头像")
    private String wxAvatar;

    /** 账号冻结状态 */
    @Excel(name = "账号冻结状态")
    private Integer status;

    /** 店铺ID **/
    private Long userTeaShopName;

    /** 用户ID **/
    private Long shopSysUserName;

    public Long getShopSysUserName() {
        return shopSysUserName;
    }

    public void setShopSysUserName(Long shopSysUserName) {
        this.shopSysUserName = shopSysUserName;
    }

    public Long getUserTeaShopName() {
        return userTeaShopName;
    }

    public void setUserTeaShopName(Long userTeaShopName) {
        this.userTeaShopName = userTeaShopName;
    }

    public void setWxOpenid(String wxOpenid)
    {
        this.wxOpenid = wxOpenid;
    }

    public String getWxOpenid() 
    {
        return wxOpenid;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setSex(Integer sex) 
    {
        this.sex = sex;
    }

    public Integer getSex() 
    {
        return sex;
    }
    public void setWxAvatar(String wxAvatar) 
    {
        this.wxAvatar = wxAvatar;
    }

    public String getWxAvatar() 
    {
        return wxAvatar;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("wxOpenid", getWxOpenid())
            .append("name", getName())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("sex", getSex())
            .append("wxAvatar", getWxAvatar())
            .append("status", getStatus())
            .append("userTeaShopName", getUserTeaShopName())
            .append("shopSysUserName", getShopSysUserName())
            .toString();
    }
}
